package demo1;

public class Resume {
    private String name;
    private String sex;
    private int age;

    public Resume(String name, String sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public Resume() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge(int age) {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public void introduce() {
        System.out.println("我是："+this.name+",性别："+this.sex+",年龄："+this.age);
    }
}